package lhdx10;

public class JiLu {
    private String name,phone,plateNumber;
    private int days;

    public JiLu(String name, String phone, String plateNumber, int days) {
        this.name = name;
        this.phone = phone;
        this.plateNumber = plateNumber;
        this.days = days;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    @Override
    public String toString() {
        return "租借人：'" + name + '\'' +
                ",手机号：'" + phone + '\'' +
                ", 车牌号：'" + plateNumber + '\'' +
                ",租借天数：" + days ;
    }
}
